#ifndef RING_BUFFER
  #define RING_BUFFER
#endif

#include <stdlib.h>
//******************
//
// CLASS: Ringbuffer
//
// DESCRIPTION:
//  just a test
//
class Ringbuffer
{
  private:
    Ringbuffer();
    ~Ringbuffer();
  
  public:
    Ringbuffer(unsigned short Size);
    bool Write(unsigned char *Data, unsigned char NrOfBytes);
    bool Read(unsigned char *Data, unsigned char NrOfBytes);
    bool Error;
  
  private:
    unsigned char *m_pWrite;
    unsigned char *m_pRead;
    unsigned char *m_Data;
};
